package com.galaxy.coupon.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.galaxy.coupon.domain.UserCoupon;
import com.galaxy.common.mybatis.core.mapper.BaseMapperPlus;
import com.galaxy.coupon.domain.bo.UserCouponBo;
import com.galaxy.coupon.domain.vo.UserCouponVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 用户优惠券Mapper接口
 */
public interface UserCouponMapper extends BaseMapperPlus<UserCoupon, UserCouponVo> {
    List<UserCouponVo> selectAllUserCouponWithCoupons(@Param("bo") UserCouponBo bo);

    UserCouponVo selectUserCouponWithCouponById(Long id);
}
